package com.lanou.student.bean;

public class Student {
	private int id;
	private String stuName;//学生姓名
	private int stuAge;// 学生年龄
	private double math;//数学成绩
	private double eng;//英语成绩
	private double computer;//计算机成绩
	
	public Student() {
		super();
	}

	public Student(int id, String stuName, int stuAge, double math, double eng, double computer) {
		super();
		this.id = id;
		this.stuName = stuName;
		this.stuAge = stuAge;
		this.math = math;
		this.eng = eng;
		this.computer = computer;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getStuName() {
		return stuName;
	}

	public void setStuName(String stuName) {
		this.stuName = stuName;
	}

	public int getStuAge() {
		return stuAge;
	}

	public void setStuAge(int stuAge) {
		this.stuAge = stuAge;
	}

	public double getMath() {
		return math;
	}

	public void setMath(double math) {
		this.math = math;
	}

	public double getEng() {
		return eng;
	}

	public void setEng(double eng) {
		this.eng = eng;
	}

	public double getComputer() {
		return computer;
	}

	public void setComputer(double computer) {
		this.computer = computer;
	}

	@Override
	public String toString() {
		return id + "\t" + stuName + "\t" + stuAge + "\t" + math + "\t" + eng + "\t" + computer;
	}
	
	
	
	
}
